package com.cne.gmail.Gmail.dao;

import com.cne.gmail.Gmail.model.MailSenderInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface MailSendInfoRepository extends MongoRepository<MailSenderInfo,String> {
    Page<MailSenderInfo> findByFrom(String emailAddress, Pageable page);
}
